/*
 * @Date: 2023-04-04 09:58:51
 * @LastEditTime: 2023-04-18 15:30:07
 */
import request from '@/utils/request'

const Api = {
  // 新增应用
  APP_NEW: '/app/newApp',
  // 编辑应用
  APP_UPDATE: '/app/updateApp',
  // 删除应用
  APP_DELETE: '/app/deleteApp',
  // 应用拖拽排序
  APP_SORT: '/app/appSort'
}

export const newApp = (data) => request.post(Api.APP_NEW, data)

export const updateApp = (data) => request.post(Api.APP_UPDATE, data)

export const deleteApp = (data) => request.post(Api.APP_DELETE, data)

export const appSort = (data) => request.post(Api.APP_SORT, data)
